import request from '../../utils/request'
import {getToken} from '../../utils/token'
const api_name = "user"
const group_name = "oss"

/**查询用户*/
export function getCurrentUser() {
    return request({
        url: `/${group_name}/${api_name}/currentuser`,
        method: 'GET',
        headers:{
            "OSS-Token": getToken("ossToken"),
        }
    })
}